import * as mvc from "common/mvc";
import Application from "./model/application";

export abstract class BaseView<M extends mvc.Model, Component> extends mvc.View<M, Component> {
    public application: Application = Application.getInstance(Application);
}

export abstract class BaseCommand<D, R> extends mvc.Command<D, R> {
    public application: Application = Application.getInstance(Application);
}